package com.ruoyi.attachedData.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 附详情对象 gc_attached_data
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@ApiModel
public class AttachedData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 类型 1=模版1，2=模板2 */
    @Excel(name = "类型 1=模版1，2=模板2")
    @ApiModelProperty(value = "类型 1=模版1，2=模板2")
    private Long type;

    /** 附表id */
    @Excel(name = "附表id")
    @ApiModelProperty(value = "附表id")
    private Long attachedId;

    /** 桩号 */
    @Excel(name = "桩号")
    @ApiModelProperty(value = "桩号")
    private String pileNumber;

    /** 桩型 */
    @Excel(name = "桩型")
    @ApiModelProperty(value = "桩型")
    private String pileType;

    /** 桩长 */
    @Excel(name = "桩长")
    @ApiModelProperty(value = "桩长")
    private String pileLength;

    /** 桩径 */
    @Excel(name = "桩径")
    @ApiModelProperty(value = "桩径")
    private String diameter;

    /** 桩端持力层 */
    @Excel(name = "桩端持力层")
    @ApiModelProperty(value = "桩端持力层")
    private String pileLayer;

    /** 砼强度 */
    @Excel(name = "砼强度")
    @ApiModelProperty(value = "砼强度")
    private String goneStrength;

    /** 预估抗压极限值(kN) */
    @Excel(name = "预估抗压极限值(kN)")
    @ApiModelProperty(value = "预估抗压极限值(kN)")
    private String compressionOne;

    /** 预估水平/抗拔极限值(kN)  */
    @Excel(name = "预估水平/抗拔极限值(kN) ")
    @ApiModelProperty(value = "预估水平/抗拔极限值(kN) ")
    private String compressionTwo;

    /** 成桩日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成桩日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "成桩日期")
    private Date pileDate;

    /** 试验方法 */
    @Excel(name = "试验方法")
    @ApiModelProperty(value = "试验方法")
    private String testMethod;

    /** 实验号 */
    @Excel(name = "实验号")
    @ApiModelProperty(value = "实验号")
    private String testNumber;

    /** 位置 */
    @Excel(name = "位置")
    @ApiModelProperty(value = "位置")
    private String position;

    /** 持力层 */
    @Excel(name = "持力层")
    @ApiModelProperty(value = "持力层")
    private String bearingStratum;

    /** 预估承载力 */
    @Excel(name = "预估承载力")
    @ApiModelProperty(value = "预估承载力")
    private String bearingValue;


    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private String amount;

    private String engineeringName;

    private String wtNumber;

    private String enterpriseName;

    public String getEnterpriseName() {
        return enterpriseName;
    }
    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEngineeringName() {
        return engineeringName;
    }

    public void setEngineeringName(String engineeringName) {
        this.engineeringName = engineeringName;
    }

    public String getWtNumber() {
        return wtNumber;
    }

    public void setWtNumber(String wtNumber) {
        this.wtNumber = wtNumber;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    /** 施工日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "施工日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "施工日期")
    private Date constructionTime;

    /** 委托单id */
    @ApiModelProperty(value = "类型 1=模版1，2=模板2")
    private Long commissionId;
    public void setCommissionId(Long commissionId)
    {
        this.commissionId = commissionId;
    }
    public Long getCommissionId()
    {
        return commissionId;
    }

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Long status;
    public void setStatus(Long status)
    {
        this.status = status;
    }
    public Long getStatus()
    {
        return status;
    }

    /** 原始编号 */
    private String originalNumber;
    public void setOriginalNumber(String originalNumber)
    {
        this.originalNumber = originalNumber;
    }
    public String getOriginalNumber()
    {
        return originalNumber;
    }


    private String chargePerson;
    public void setChargePerson(String chargePerson)
    {
        this.chargePerson = chargePerson;
    }
    public String getChargePerson()
    {
        return chargePerson;
    }

    private Long engineeringId;
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }
    public Long getEngineeringId() {
        return engineeringId;
    }

    private String userName;
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    public String getUserName()
    {
        return userName;
    }

    private String nickName;
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }
    public String getNickName()
    {
        return nickName;
    }


    /*private String clockinFile;
    public void setClockinFile(String clockinFile)
    {
        this.clockinFile = clockinFile;
    }
    public String getClockinFile()
    {
        return clockinFile;
    }


    */


    private String isDone;
    public void setIsDone(String isDone)
    {
        this.isDone = isDone;
    }
    public String getIsDone()
    {
        return isDone;
    }


    private String reportFile;

    private String completionProgress;

    public String getReportFile() {
        return reportFile;
    }

    public void setReportFile(String reportFile) {
        this.reportFile = reportFile;
    }

    public String getCompletionProgress() {
        return completionProgress;
    }

    public void setCompletionProgress(String completionProgress) {
        this.completionProgress = completionProgress;

    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setAttachedId(Long attachedId)
    {
        this.attachedId = attachedId;
    }

    public Long getAttachedId()
    {
        return attachedId;
    }
    public void setPileNumber(String pileNumber)
    {
        this.pileNumber = pileNumber;
    }

    public String getPileNumber()
    {
        return pileNumber;
    }
    public void setPileType(String pileType)
    {
        this.pileType = pileType;
    }

    public String getPileType()
    {
        return pileType;
    }
    public void setPileLength(String pileLength)
    {
        this.pileLength = pileLength;
    }

    public String getPileLength()
    {
        return pileLength;
    }
    public void setDiameter(String diameter)
    {
        this.diameter = diameter;
    }

    public String getDiameter()
    {
        return diameter;
    }
    public void setPileLayer(String pileLayer)
    {
        this.pileLayer = pileLayer;
    }

    public String getPileLayer()
    {
        return pileLayer;
    }
    public void setGoneStrength(String goneStrength)
    {
        this.goneStrength = goneStrength;
    }

    public String getGoneStrength()
    {
        return goneStrength;
    }
    public void setCompressionOne(String compressionOne)
    {
        this.compressionOne = compressionOne;
    }

    public String getCompressionOne()
    {
        return compressionOne;
    }
    public void setCompressionTwo(String compressionTwo)
    {
        this.compressionTwo = compressionTwo;
    }

    public String getCompressionTwo()
    {
        return compressionTwo;
    }
    public void setPileDate(Date pileDate)
    {
        this.pileDate = pileDate;
    }

    public Date getPileDate()
    {
        return pileDate;
    }
    public void setTestMethod(String testMethod)
    {
        this.testMethod = testMethod;
    }

    public String getTestMethod()
    {
        return testMethod;
    }
    public void setTestNumber(String testNumber)
    {
        this.testNumber = testNumber;
    }

    public String getTestNumber()
    {
        return testNumber;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setBearingStratum(String bearingStratum)
    {
        this.bearingStratum = bearingStratum;
    }

    public String getBearingStratum()
    {
        return bearingStratum;
    }
    public void setBearingValue(String bearingValue)
    {
        this.bearingValue = bearingValue;
    }

    public String getBearingValue()
    {
        return bearingValue;
    }
    public void setConstructionTime(Date constructionTime)
    {
        this.constructionTime = constructionTime;
    }

    public Date getConstructionTime()
    {
        return constructionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("attachedId", getAttachedId())
            .append("pileNumber", getPileNumber())
            .append("pileType", getPileType())
            .append("pileLength", getPileLength())
            .append("diameter", getDiameter())
            .append("pileLayer", getPileLayer())
            .append("goneStrength", getGoneStrength())
            .append("compressionOne", getCompressionOne())
            .append("compressionTwo", getCompressionTwo())
            .append("pileDate", getPileDate())
            .append("testMethod", getTestMethod())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("testNumber", getTestNumber())
            .append("position", getPosition())
            .append("bearingStratum", getBearingStratum())
            .append("bearingValue", getBearingValue())
            .append("constructionTime", getConstructionTime())
            .toString();
    }
}
